// 定义处理节点接口
interface PricingHandler {
    double handleRequest(double distance, String time, String taxiType);
    void setNext(PricingHandler next);
}